package com.sinosoft.msf.base.supplier.dao.tk;

import org.apache.ibatis.annotations.InsertProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;

import java.util.List;

@RegisterMapper
public interface InsertListForOracleMapper<T> {

    /**
     * Oracle批量插入
     * @param recordList
     * @return
     */
    @InsertProvider(type = InsertListForOracleProvider.class, method = "dynamicSQL")
    int insertListForOracle(List<? extends T> recordList);
}